package cn.cstech.aijia.appupgrade;

import java.io.Serializable;

public class AppUpdateInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -2226326749962525380L;

	/**
     * 应用id
     */
    private int appId;
      
    /**
     * 渠道名
     */
    private String channel;
      
    /**
     * 版本说明
     */
    private String desc;
      
    /**
     * 下载地址
     */
    private String downloadUrl;
      
    /**
     * 备用下载地址
     */
    private String backupUrl;
      
    /**
     * 渠道市场包名
     */
    private String marketPkg;
      
    /**
     * 版本号
     */
    private long version = 0 ;
      
    /**
     * 版本名称
     */
    private String versionName;
      
    /**
     * 强制升级标志位
     */
    private boolean forceUpgrade;
      
    /**
     * 强制升级说明
     */
    private String forceDesc;
      
    /**
     * 包大小，单位为字节
     */
    private int pkgSize;

	public int getAppId() {
		return appId;
	}

	public void setAppId(int appId) {
		this.appId = appId;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

	public String getBackupUrl() {
		return backupUrl;
	}

	public void setBackupUrl(String backupUrl) {
		this.backupUrl = backupUrl;
	}

	public String getMarketPkg() {
		return marketPkg;
	}

	public void setMarketPkg(String marketPkg) {
		this.marketPkg = marketPkg;
	}

	public long getVersion() {
		return version;
	}

	public void setVersion(long version) {
		this.version = version;
	}

	public String getVersionName() {
		return versionName;
	}

	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

	public boolean isForceUpgrade() {
		return forceUpgrade;
	}

	public void setForceUpgrade(boolean forceUpgrade) {
		this.forceUpgrade = forceUpgrade;
	}

	public String getForceDesc() {
		return forceDesc;
	}

	public void setForceDesc(String forceDesc) {
		this.forceDesc = forceDesc;
	}

	public int getPkgSize() {
		return pkgSize;
	}

	public void setPkgSize(int pkgSize) {
		this.pkgSize = pkgSize;
	}
}
